package com.yupi.yoj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.yoj.model.entity.Contest;
import com.yupi.yoj.model.vo.ContestVO;

import java.util.List;


/**
* @author 46411
* @description 针对表【contest(竞赛)】的数据库操作Service
* @createDate 2024-10-05 01:13:37
*/
public interface ContestService extends IService<Contest> {

    void validContest(Contest contest);

    ContestVO getContestVO(Contest contest);
    List<ContestVO> getContestVO(List<Contest> contest);

    List<Contest> getTwoCurrent();

    List<Contest> getEndContest();
}
